package com.pharmacy.pharmacy.domain;

import java.util.Date;


/**
 * 【】对象 employee
 * 
 * @author 
 * @date 2025-05-08
 */
public class Employee 
{

    /** 主键，自增ID */
    private Long id;

    /** 员工姓名 */
    private String employeeName;

    /** 登录密码 */
    private String password;

    /** 员工角色（0管理员，1普通员工） */
    private Long role;

    /** 联系电话 */
    private String phone;

    /** 入职时间 */
    private Date hireDate;


    public Employee() {
    }

    public Employee(Long id, String employeeName, String password, Long role, String phone, Date hireDate) {
        this.id = id;
        this.employeeName = employeeName;
        this.password = password;
        this.role = role;
        this.phone = phone;
        this.hireDate = hireDate;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return employeeName
     */
    public String getEmployeeName() {
        return employeeName;
    }

    /**
     * 设置
     * @param employeeName
     */
    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return role
     */
    public Long getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(Long role) {
        this.role = role;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return hireDate
     */
    public Date getHireDate() {
        return hireDate;
    }

    /**
     * 设置
     * @param hireDate
     */
    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
    }

    public String toString() {
        return "Employee{id = " + id + ", employeeName = " + employeeName + ", password = " + password + ", role = " + role + ", phone = " + phone + ", hireDate = " + hireDate + "}";
    }
}
